package com.igeekhome.mapper;

import com.igeekhome.pojo.AAnnouncements;
import com.igeekhome.pojo.AAnnouncementsExample;
import com.igeekhome.pojo.AAnnouncementsWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AAnnouncementsMapper {
    int countByExample(AAnnouncementsExample example);

    int deleteByExample(AAnnouncementsExample example);

    int deleteByPrimaryKey(Integer annoId);

    int insert(AAnnouncementsWithBLOBs record);

    int insertSelective(AAnnouncementsWithBLOBs record);

    List<AAnnouncementsWithBLOBs> selectByExampleWithBLOBs(AAnnouncementsExample example);

    List<AAnnouncements> selectByExample(AAnnouncementsExample example);

    AAnnouncementsWithBLOBs selectByPrimaryKey(Integer annoId);

    int updateByExampleSelective(@Param("record") AAnnouncementsWithBLOBs record, @Param("example") AAnnouncementsExample example);

    int updateByExampleWithBLOBs(@Param("record") AAnnouncementsWithBLOBs record, @Param("example") AAnnouncementsExample example);

    int updateByExample(@Param("record") AAnnouncements record, @Param("example") AAnnouncementsExample example);

    int updateByPrimaryKeySelective(AAnnouncementsWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(AAnnouncementsWithBLOBs record);

    int updateByPrimaryKey(AAnnouncements record);
}